﻿using MessageQuque.Common.Base.Model;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MessageQuque.Common.Base.Business
{
    public interface IBusiness
    {
        /// <summary>
        /// 处理接收到的对象
        /// </summary>
        /// <param name="header">头部内容-用来区分不同队列</param>
        /// <param name="body">内容</param>
        void Process(string header, object body);
    }
}
